package org.dromara.business.domain.vo;

import org.dromara.business.domain.Report;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 反馈记录视图对象 report
 *
 * @author zlj
 * @date 2024-08-20
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Report.class)
public class ReportVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 反馈记录表
     */
    @ExcelProperty(value = "反馈记录表")
    private Long reportId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 反馈类型（1.订单问题 2.平台建议 3.投诉申诉 4.其他）
     */
    @ExcelProperty(value = "反馈类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=.订单问题,2=.平台建议,3=.投诉申诉,4=.其他")
    private Integer reportType;

    /**
     * 反馈内容
     */
    @ExcelProperty(value = "反馈内容")
    private String reportText;

    /**
     * 状态（1.处理中 2.处理完成 3.处理不通过）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=.处理中,2=.处理完成,3=.处理不通过")
    private Integer status;


}
